package model;

public class Building {

	private String name;
	private String area;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String toXML() {
		StringBuilder builder = new StringBuilder();
		builder.append("\t<building>\n");
		builder.append("\t\t<name>");
		builder.append(this.getName());
		builder.append("</name>\n");
		builder.append("\t\t<area>");
		builder.append(this.getArea());
		builder.append("</area>\n");
		builder.append("\t</building>\n");

		return builder.toString();
	}
	
	
	
}
